<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::Line Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_line.html">Line</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_line-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::Line Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_line_8hpp_source.html">Line.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Slic3r::Line:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_slic3r_1_1_line.png" usemap="#Slic3r::Line_map" alt=""/>
  <map id="Slic3r::Line_map" name="Slic3r::Line_map">
<area href="class_slic3r_1_1_intersection_line.html" alt="Slic3r::IntersectionLine" shape="rect" coords="0,56,140,80"/>
<area href="class_slic3r_1_1_thick_line.html" alt="Slic3r::ThickLine" shape="rect" coords="150,56,290,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afaff3bfe94152b9b482dcc6bda689ed0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#afaff3bfe94152b9b482dcc6bda689ed0">Line</a> ()</td></tr>
<tr class="separator:afaff3bfe94152b9b482dcc6bda689ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa61624fa71fd20889d9725346905ac1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#aa61624fa71fd20889d9725346905ac1f">Line</a> (<a class="el" href="class_slic3r_1_1_point.html">Point</a> _a, <a class="el" href="class_slic3r_1_1_point.html">Point</a> _b)</td></tr>
<tr class="separator:aa61624fa71fd20889d9725346905ac1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae079b9fb73a2a636df468224e17767e9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ae079b9fb73a2a636df468224e17767e9">wkt</a> () const</td></tr>
<tr class="separator:ae079b9fb73a2a636df468224e17767e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0079ba12ed4c6f8a3eee9eba42f45cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ad0079ba12ed4c6f8a3eee9eba42f45cd">operator Lines</a> () const</td></tr>
<tr class="separator:ad0079ba12ed4c6f8a3eee9eba42f45cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab32648502aad1ef7d9d5066462761965"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ab32648502aad1ef7d9d5066462761965">operator Polyline</a> () const</td></tr>
<tr class="separator:ab32648502aad1ef7d9d5066462761965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41c3f2e66d00ec74b5b2c616a6162a9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a41c3f2e66d00ec74b5b2c616a6162a9a">scale</a> (double factor)</td></tr>
<tr class="separator:a41c3f2e66d00ec74b5b2c616a6162a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab73722badc914f1b40074fd4c23fab11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ab73722badc914f1b40074fd4c23fab11">translate</a> (double x, double y)</td></tr>
<tr class="separator:ab73722badc914f1b40074fd4c23fab11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac129702a1afc49e56358eb09b22c033d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ac129702a1afc49e56358eb09b22c033d">rotate</a> (double angle, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;center)</td></tr>
<tr class="separator:ac129702a1afc49e56358eb09b22c033d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d9a91875885c2ad1467c47d655b0ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a74d9a91875885c2ad1467c47d655b0ef">reverse</a> ()</td></tr>
<tr class="separator:a74d9a91875885c2ad1467c47d655b0ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c3a3bbe33bc268bbe33af359f93746d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a4c3a3bbe33bc268bbe33af359f93746d">length</a> () const</td></tr>
<tr class="separator:a4c3a3bbe33bc268bbe33af359f93746d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa2d030610f810cd7b7f552901282aa4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#afa2d030610f810cd7b7f552901282aa4">midpoint</a> () const</td></tr>
<tr class="separator:afa2d030610f810cd7b7f552901282aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae594ce50abf05b95ad99f9aab66ac2e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ae594ce50abf05b95ad99f9aab66ac2e5">point_at</a> (double distance, <a class="el" href="class_slic3r_1_1_point.html">Point</a> *point) const</td></tr>
<tr class="separator:ae594ce50abf05b95ad99f9aab66ac2e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ed0e18d93905a2d8f052f83a8f8926"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a39ed0e18d93905a2d8f052f83a8f8926">point_at</a> (double distance) const</td></tr>
<tr class="separator:a39ed0e18d93905a2d8f052f83a8f8926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc32a69030d7db93448e6365ef1950ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#afc32a69030d7db93448e6365ef1950ae">intersection_infinite</a> (const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;other, <a class="el" href="class_slic3r_1_1_point.html">Point</a> *point) const</td></tr>
<tr class="separator:afc32a69030d7db93448e6365ef1950ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c00ace88daae45d1390be2efb6afd3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a24c00ace88daae45d1390be2efb6afd3">coincides_with</a> (const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;line) const</td></tr>
<tr class="separator:a24c00ace88daae45d1390be2efb6afd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec6ba7ac1da54b7b53d65d60fc7b8837"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#aec6ba7ac1da54b7b53d65d60fc7b8837">distance_to</a> (const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point) const</td></tr>
<tr class="separator:aec6ba7ac1da54b7b53d65d60fc7b8837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af32fe2a867034547e165b3ee81694dae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#af32fe2a867034547e165b3ee81694dae">parallel_to</a> (double angle) const</td></tr>
<tr class="separator:af32fe2a867034547e165b3ee81694dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ee78b09b3dd5991447a25f693edd1a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ac8ee78b09b3dd5991447a25f693edd1a">parallel_to</a> (const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;line) const</td></tr>
<tr class="separator:ac8ee78b09b3dd5991447a25f693edd1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae410d2257d32db4b5861850bd503b8c5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ae410d2257d32db4b5861850bd503b8c5">atan2_</a> () const</td></tr>
<tr class="separator:ae410d2257d32db4b5861850bd503b8c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab812194ba500ece17f1bb1e32fc13fcd"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#ab812194ba500ece17f1bb1e32fc13fcd">orientation</a> () const</td></tr>
<tr class="separator:ab812194ba500ece17f1bb1e32fc13fcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af425b48accf4ffc1726011ee7613b308"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#af425b48accf4ffc1726011ee7613b308">direction</a> () const</td></tr>
<tr class="separator:af425b48accf4ffc1726011ee7613b308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16ba4c8fc848d90ffbb9ec3f4fc957c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a3c29f6a054e92664e6b8d1f458252dab">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a16ba4c8fc848d90ffbb9ec3f4fc957c6">vector</a> () const</td></tr>
<tr class="separator:a16ba4c8fc848d90ffbb9ec3f4fc957c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afefd711019e7a65c69697af4df65a93c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a3c29f6a054e92664e6b8d1f458252dab">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#afefd711019e7a65c69697af4df65a93c">normal</a> () const</td></tr>
<tr class="separator:afefd711019e7a65c69697af4df65a93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e868c7c23c64c0c71260f83de3666a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a6e868c7c23c64c0c71260f83de3666a7">extend_end</a> (double distance)</td></tr>
<tr class="separator:a6e868c7c23c64c0c71260f83de3666a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b991faca268b0bd1c3353b7522f4ab4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a0b991faca268b0bd1c3353b7522f4ab4">extend_start</a> (double distance)</td></tr>
<tr class="separator:a0b991faca268b0bd1c3353b7522f4ab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeba37d96787d83fc0efd7e1eae91946a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#aeba37d96787d83fc0efd7e1eae91946a">intersection</a> (const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;line, <a class="el" href="class_slic3r_1_1_point.html">Point</a> *intersection) const</td></tr>
<tr class="separator:aeba37d96787d83fc0efd7e1eae91946a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfe65e8acca1a331b5bc6709324f1454"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#adfe65e8acca1a331b5bc6709324f1454">ccw</a> (const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point) const</td></tr>
<tr class="separator:adfe65e8acca1a331b5bc6709324f1454"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aca852d5b90bfa7a0ed8ae5a5b7e75e82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#aca852d5b90bfa7a0ed8ae5a5b7e75e82">a</a></td></tr>
<tr class="separator:aca852d5b90bfa7a0ed8ae5a5b7e75e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed125162ca54cb677868a59b014747a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_line.html#a8ed125162ca54cb677868a59b014747a">b</a></td></tr>
<tr class="separator:a8ed125162ca54cb677868a59b014747a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afaff3bfe94152b9b482dcc6bda689ed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaff3bfe94152b9b482dcc6bda689ed0">&#9670;&nbsp;</a></span>Line() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Line::Line </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa61624fa71fd20889d9725346905ac1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa61624fa71fd20889d9725346905ac1f">&#9670;&nbsp;</a></span>Line() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Line::Line </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae410d2257d32db4b5861850bd503b8c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae410d2257d32db4b5861850bd503b8c5">&#9670;&nbsp;</a></span>atan2_()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::atan2_ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adfe65e8acca1a331b5bc6709324f1454"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfe65e8acca1a331b5bc6709324f1454">&#9670;&nbsp;</a></span>ccw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::ccw </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a24c00ace88daae45d1390be2efb6afd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c00ace88daae45d1390be2efb6afd3">&#9670;&nbsp;</a></span>coincides_with()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Line::coincides_with </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af425b48accf4ffc1726011ee7613b308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af425b48accf4ffc1726011ee7613b308">&#9670;&nbsp;</a></span>direction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aec6ba7ac1da54b7b53d65d60fc7b8837"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec6ba7ac1da54b7b53d65d60fc7b8837">&#9670;&nbsp;</a></span>distance_to()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::distance_to </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6e868c7c23c64c0c71260f83de3666a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e868c7c23c64c0c71260f83de3666a7">&#9670;&nbsp;</a></span>extend_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::extend_end </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0b991faca268b0bd1c3353b7522f4ab4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b991faca268b0bd1c3353b7522f4ab4">&#9670;&nbsp;</a></span>extend_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::extend_start </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aeba37d96787d83fc0efd7e1eae91946a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeba37d96787d83fc0efd7e1eae91946a">&#9670;&nbsp;</a></span>intersection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Line::intersection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a> *&#160;</td>
          <td class="paramname"><em>intersection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afc32a69030d7db93448e6365ef1950ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc32a69030d7db93448e6365ef1950ae">&#9670;&nbsp;</a></span>intersection_infinite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Line::intersection_infinite </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a> *&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4c3a3bbe33bc268bbe33af359f93746d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c3a3bbe33bc268bbe33af359f93746d">&#9670;&nbsp;</a></span>length()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::length </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afa2d030610f810cd7b7f552901282aa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa2d030610f810cd7b7f552901282aa4">&#9670;&nbsp;</a></span>midpoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_point.html">Point</a> Slic3r::Line::midpoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afefd711019e7a65c69697af4df65a93c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afefd711019e7a65c69697af4df65a93c">&#9670;&nbsp;</a></span>normal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a3c29f6a054e92664e6b8d1f458252dab">Vector</a> Slic3r::Line::normal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad0079ba12ed4c6f8a3eee9eba42f45cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0079ba12ed4c6f8a3eee9eba42f45cd">&#9670;&nbsp;</a></span>operator Lines()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Line::operator <a class="el" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Lines</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab32648502aad1ef7d9d5066462761965"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab32648502aad1ef7d9d5066462761965">&#9670;&nbsp;</a></span>operator Polyline()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Line::operator <a class="el" href="class_slic3r_1_1_polyline.html">Polyline</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab812194ba500ece17f1bb1e32fc13fcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab812194ba500ece17f1bb1e32fc13fcd">&#9670;&nbsp;</a></span>orientation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Line::orientation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af32fe2a867034547e165b3ee81694dae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af32fe2a867034547e165b3ee81694dae">&#9670;&nbsp;</a></span>parallel_to() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Line::parallel_to </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac8ee78b09b3dd5991447a25f693edd1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8ee78b09b3dd5991447a25f693edd1a">&#9670;&nbsp;</a></span>parallel_to() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Line::parallel_to </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_line.html">Line</a> &amp;&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae594ce50abf05b95ad99f9aab66ac2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae594ce50abf05b95ad99f9aab66ac2e5">&#9670;&nbsp;</a></span>point_at() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::point_at </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>distance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a> *&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a39ed0e18d93905a2d8f052f83a8f8926"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39ed0e18d93905a2d8f052f83a8f8926">&#9670;&nbsp;</a></span>point_at() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_point.html">Point</a> Slic3r::Line::point_at </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a74d9a91875885c2ad1467c47d655b0ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74d9a91875885c2ad1467c47d655b0ef">&#9670;&nbsp;</a></span>reverse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::reverse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac129702a1afc49e56358eb09b22c033d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac129702a1afc49e56358eb09b22c033d">&#9670;&nbsp;</a></span>rotate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::rotate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>center</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a41c3f2e66d00ec74b5b2c616a6162a9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41c3f2e66d00ec74b5b2c616a6162a9a">&#9670;&nbsp;</a></span>scale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::scale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab73722badc914f1b40074fd4c23fab11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab73722badc914f1b40074fd4c23fab11">&#9670;&nbsp;</a></span>translate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Line::translate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a16ba4c8fc848d90ffbb9ec3f4fc957c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16ba4c8fc848d90ffbb9ec3f4fc957c6">&#9670;&nbsp;</a></span>vector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a3c29f6a054e92664e6b8d1f458252dab">Vector</a> Slic3r::Line::vector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae079b9fb73a2a636df468224e17767e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae079b9fb73a2a636df468224e17767e9">&#9670;&nbsp;</a></span>wkt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::Line::wkt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aca852d5b90bfa7a0ed8ae5a5b7e75e82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca852d5b90bfa7a0ed8ae5a5b7e75e82">&#9670;&nbsp;</a></span>a</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_point.html">Point</a> Slic3r::Line::a</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8ed125162ca54cb677868a59b014747a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ed125162ca54cb677868a59b014747a">&#9670;&nbsp;</a></span>b</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_point.html">Point</a> Slic3r::Line::b</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_line_8hpp_source.html">Line.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_line_8cpp.html">Line.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
